<?php 

$this->widget('EExcelWriter', array(
  'dataProvider' => $model->search(),
  'title'        => 'drill',
  'fileName' => 'drill.xls',
  'stream'       => TRUE,
  'columns' => array(
		'id',
		'name',
		array(
				'name'=>'category',
				'value'=>'GxHtml::valueEx($data->category0)',
				'filter'=>GxHtml::listDataEx(DrillCategory::model()->findAllAttributes(null, true)),
				),
		'purpose',
		'description',
		'tips',
		'youtube_id',
		array(
				'name'=>'author_id',
				'value'=>'GxHtml::valueEx($data->author)',
				'filter'=>GxHtml::listDataEx(User::model()->findAllAttributes(null, true)),
				),

	),
	
)); ?>